home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / dabutil2.zip / SBEMAIN.HLP < prev    next >
Text File  |  1990-09-22  |  4KB  |  87 lines

  1. SBE
  2. ---
  3.  
  4. SBE is a general-purpose text editor for modifying text files, such as .BAT
  5. files and input files for compilers. SBE stands for Split-Buffer Editor, which
  6. describes the internal representation of the text. One advantage to the
  7. approach used is that the speed of entry of characters is not affected by file
  8. size, as can be the case with other representations.
  9.  
  10. With SBE, you can load up to eight files in memory at one time, if you have
  11. enough memory to do it. Each file is loaded into a buffer, and each buffer
  12. uses 64K, no matter what the size of the file is.
  13.  
  14. .pa
  15. Status line
  16. -----------
  17. This is the information found on SBE's status line:
  18.  
  19. +- The current buffer number, 0-7
  20. |   +- The file currently being edited, not including the path name
  21. |   |          +- Insert mode/Overlay mode flag
  22. |   |          |+- An '*' here indicates that the file has been changed
  23. |   |          ||
  24. 0:test.c       I*    16:227    F1-Help  ESC-Menu SBE Copyright 1990 Don Branson
  25.                      |   |     |         |        |
  26.                      |   |     |         |        +-  Copyright message
  27.                      |   |     |         +- ESC displays menu options
  28.                      |   |     +- F1 displays help (But you know that already)
  29.                      |   +- The total number of lines in the file
  30.                      +- The is the line number that the cursor is on
  31.  
  32. .pa
  33. Cursor movement
  34. ---------------
  35.  
  36. These are the key combinations and the resultant cursor movements:
  37. (Ctrl-key indicates that Ctrl should be held while pressing the second key).
  38.  
  39. Left        - one character to the left
  40. Ctrl-Left   - one word to the left
  41. Right       - one character to the right
  42. Ctrl-Right  - one word to the right
  43. Up          - previous line in file
  44. Down        - next line in file
  45. Home        - first character of current line
  46. Ctrl-Home   - upper-left corner of screen
  47. End         - after last character of current line
  48. Ctrl-End    - lower-left corner of screen
  49. PgUp        - previous page of text
  50. Ctrl-PgUp   - beginning of file
  51. PgDn        - next page of text
  52. Ctrl-PgDn   - end of file
  53. .pa
  54. Other keys
  55. ----------
  56.  
  57. These are the other keys that SBE supports and what they do.
  58.  
  59. Del         - deletes the character under the cursor
  60. Ins         - toggles insert/overlay modes
  61. Backarrow   - deletes the character to the left
  62. Enter       - ends the line and moves the cursor to the next line
  63. Tab         - moves the cursor to the next tab stop
  64. Shift-Tab   - moves the cursor to the previous tab stop
  65.  
  66. .pa
  67. Deleting and Undeleting
  68. -----------------------
  69.  
  70. Whenever you delete text using Ctrl-c, Ctrl-d, or Ctrl-w, the text is saved
  71. in a buffer. If you delete more than once without moving the cursor, the
  72. subsequent text is added to the previous text. For example, if you delete ten
  73. adjacent lines using Ctrl-d, without moving the cursor, Ctrl-u will undelete
  74. all ten lines as a block. This is an easy way to copy or move a few lines.
  75.  
  76. SBE saves up to ten buffers of code which you have deleted. You can select the
  77. buffer before the current delete buffer by using Alt-u after a Ctrl-u. This
  78. allows you to have more than one block of code which can be copied or moved.
  79.  
  80. Ctrl-c      - deletes all characters from the cursor to the end of the line
  81. Ctrl-w      - deletes the next word
  82. Ctrl-d      - deletes the current line
  83. Ctrl-u      - undelete the text deleted by the previous Ctrl-c, Ctrl-d, 
  84.               or Ctrl-w
  85. Alt-u       - re-deletes the text undeleted by Ctrl-u, and undeletes the text
  86.               deleted by the prior Ctrl-c, Ctrl-d, or Ctrl-w
  87.